From 9d1a4b6c93750347b99228c315b384a7ca8014ec Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Sat, 24 Sep 2005 15:35:47 +0100 Subject: [PATCH] Fix build for pedantic compilers. --- xen/common/grant_table.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index 512b1bf5f8..695caa17a5 100644 --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -83,7 +83,7 @@ __gnttab_map_grant_ref( int handle; u64 addr; unsigned long frame = 0; - int rc; + int rc = GNTST_okay; active_grant_entry_t *act; /* Entry details from @rd's shared grant table. */ @@ -377,7 +377,6 @@ __gnttab_map_grant_ref( spin_unlock(&rd->grant_table->lock); } - } ld->grant_table->maptrack[handle].domid = dom; -- 2.30.2